package com.itmk.web.goods_comment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("goods_comment")
public class GoodsComment {
    @TableId(type = IdType.AUTO)
    private Long commentId;
    private Long goodId;
    private Long userId;
    private String commentText;
    private Date createTime;
    @TableField(exist = false)
    private String picture;
    @TableField(exist = false)
    private String nickname;
}
